# Contributor: Danilo Falcão <danilo@falcao.org>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=fabric
_pkgname=fabric
pkgver=2.5.0
pkgrel=1
pkgdesc="A simple pythonic remote deployment tool"
options="!check" # Fails to find 'fabfile' module
url="https://www.fabfile.org/"
arch="noarch"
license="BSD-2-Clause"
depends="py3-paramiko py3-invoke py3-setuptools"
checkdepends="py3-pytest py3-mock"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="2dd3b0a6b7c21cce07439bf9ea1b869bac282cfd0abf502d297163ff56b46975b12ab4dbe262c6df89e0e7f980847b88286d0eccbdab7003b643443eb9046ba7  fabric-2.5.0.tar.gz"
